﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Pixysoft.Framework.Configurations
{
    public interface IHtmlTable
    {
        /// <summary>
        /// 父节点的表序列
        /// </summary>
        string ParentPath { get;}

        /// <summary>
        /// 嵌套层次
        /// </summary>
        int NestLevel { get;}

        /// <summary>
        /// 当前表序列
        /// </summary>
        int TableIndex { get;}

        /// <summary>
        /// 表内容
        /// </summary>
        string Content { get;}

        /// <summary>
        /// html节点
        /// </summary>
        IHtmlNode HtmlNode { get;}

        /// <summary>
        /// 表行
        /// </summary>
        IHtmlRow[] Rows { get;}

        /// <summary>
        /// 序列化为布局
        /// </summary>
        /// <returns></returns>
        string Serialize();
    }
}
